<?php global $trns_options, $trns; ?>
<?php get_header(); ?>
		<div id="contentBody">
			<div id="content">
				<div class="body_box">
					<div id="entryMeta">		
						<span class="labelBC"><a href="<?php bloginfo('url'); ?>" title="<?php bloginfo('description'); ?>"><?php echo $trns["home"]; ?></a> &raquo; <?php echo $trns["sarchive"]; ?></span>
						<span class="locationBC"><?php echo $trns["seresults"]; ?> <strong>&#8220;<?php echo wp_specialchars($s, 1); ?>&#8221;</strong></span>	
					</div>
					<?php if (have_posts()) : while (have_posts()) : the_post(); ?>	
						<div class="cat_post">
							<h1 class="archiveTitle"><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h1>
							<div class="entry">
								<?php /* If there is a video */ $key = 'video'; $themeta = get_post_meta($post->ID, $key, TRUE); if($themeta != '') { ?>
									<div class="thumb">	
										<object type="application/x-shockwave-flash" style="width:623px; height:350px;" data="<?php echo get_post_meta($post->ID, 'video', true); ?>">
										<param name="wmode" value="opaque" /><param name="movie" value="<?php echo get_post_meta($post->ID, 'video', true); ?>" /></object> 
									</div>
								<?php } ?>
								
								<?php /* If it is NOT  a video */ $key = 'video'; $themeta = get_post_meta($post->ID, $key, TRUE); if(!$themeta) { ?>
									<a href="<?php the_permalink() ?>" rel="bookmark"><img src="<?php viva('trnsArchive','1'); ?>" alt="" class="alignleft"/></a> 
								<?php } ?>
								
								<?php the_excerpt(); ?>
								<div class="clear"></div>
							</div>
							<p class="metas"><?php the_time('F j Y') ?> | <?php echo $trns['postedin'] ?> <?php the_category(', ') ?> | <a href="<?php the_permalink() ?>" rel="bookmark"><?php echo $trns['readmore'] ?></a></p>
						</div><!-- /post -->				
					<?php endwhile; else : ?>
						<p><?php echo $trns["senothing"]; ?></p>
					<?php endif; ?>
					
					<div class="navigation">
						<?php posts_nav_link(); ?>
					</div>
					
				</div><!-- /body_box -->
			</div><!-- /content -->
			
			<div id="sidebar">
				<?php get_sidebar(); ?>
			</div><!-- /sidebar -->
			<div class="clear"></div>
		</div><!-- /contentbody -->
		<?php get_footer(); ?>

	</div><!-- /wrapper -->
</body>
</html>